﻿<%@ Page Language="C#" Trace="false" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="LanguageVersioningPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
	  
	<script>
		function sampleFunction()
		{
			alert("<% = Txt.GetJscript("info_thisisasample") /*** This is a sample! ***/ %>");
		}	
	</script>
    
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="body" Runat="Server">

	<form id="mainForm" runat="server">
		
		<h1><% = Txt.GetWeb("headline_intro") /*** Welcome to the sample ***/ %></h1>
		
		<p>
			<% = Txt.GetWeb("body_intro") /*** The sample is extremely simple, but illustrates the basic usage of SimpleText.NET ***/ %>
		</p>
		<p>
			<% = Txt.GetWeb("body_languagechange") /*** Try changing LanguageName in the web.config file to "danish". You could of course this with little flag icons instead. ***/ %>
			
		</p>

	</form>

</asp:Content>
